﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/HomeSite.Master" Inherits="System.Web.Mvc.ViewPage<TimeTableManagement.Entities.Tb_News>" %>

<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxSplitter" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxHeadline" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>

<%@ Register assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <dx:ASPxSplitter ID="ASPxSplitter1" runat="server" 
        CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" 
        Orientation="Vertical">
        <Panes>
            <dx:SplitterPane>
                <ContentCollection>
<dx:SplitterContentControl runat="server" SupportsDisabledAttribute="True">
<h2><%: Html.DisplayFor(model => model.title)%> </h2><h4>Publish Date: <%: Html.DisplayFor(model => model.startdate)%></h4>

    <p><%= Model.content %></p></dx:SplitterContentControl>
</ContentCollection>
            </dx:SplitterPane>
        </Panes>
        <Styles CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua">
        </Styles>
        <Images SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css">
        </Images>
    </dx:ASPxSplitter>
    
<%--<p>
<%: Html.DisplayFor(model => model.content) %>
<%: Html.DisplayFor(model => model.title) %>
    <%: Html.ActionLink("Edit", "Edit", new { id=Model.id }) %> |
    <%: Html.ActionLink("Back to List", "Index") %>
</p>--%>

</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="leftmenu" runat="server">
    
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
<title>Thông Báo</title>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="menuright" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="Footer" runat="server">
</asp:Content>
